﻿using System;
using System.Windows;
using System.Windows.Input;

namespace Sonce.Editor.Tools
{
	/// <summary>
	/// Passed parameters are snapped to grid. Easier for use than IRawTool but not that extensible.
	/// </summary>
	public interface IEditorTool : ITool
	{
		bool KeyDown(Key key);
		bool KeyUp(Key key);
		bool MouseDown(Point position);
		bool MouseUp(Point position);
		bool MouseMove(Point position, bool isMouseDown);
		bool MouseEnter();
		bool MouseLeave();
		bool MouseWheel(int delta);
	}
}
